﻿using RuYiAdmin.Net.Entity.BusinessEntity.SystemManagement;
using RuYiAdmin.Net.Repository.BusinessRepository.SystemManagement.RoleUser;
using RuYiAdmin.Net.Service.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RuYiAdmin.Net.Service.BusinessService.SystemManagement.RoleUser
{
    /// <summary>
    /// 角色用户业务层实现
    /// </summary>
    class RoleUserService : BaseService<SysRoleUser>, IRoleUserService
    {
        /// <summary>
        /// 角色与用户仓储实例
        /// </summary>
        private readonly IRoleUserRepository roleUserRepository;

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="roleUserRepository"></param>
        public RoleUserService(IRoleUserRepository roleUserRepository) : base(roleUserRepository)
        {
            this.roleUserRepository = roleUserRepository;
        }
    }
}
